package edu.whut.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Time;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Creation {

    @TableId("creation_id")
    Long creationId;

    String username;

    Date time;

    String digest;

    String title;

    String content;

    @TableField("poemId")
    Long poemId;

}
